package com.eclipse.training.model;

import java.util.ArrayList;

public class Planet extends AbstractUniverseElement {
	private ArrayList<Satellite> satellites = new ArrayList<Satellite>();
	private float revPeriod;
	private float rotPeriod;

	public Planet(String name, float revPeriod, float rotPeriod) {
		super(name);
		this.revPeriod = revPeriod;
		this.rotPeriod = rotPeriod;
	}

	public float getRevPeriod() {
		return revPeriod;
	}

	public void setRevPeriod(float revPeriod) {
		this.revPeriod = revPeriod;
	}

	public float getRotPeriod() {
		return rotPeriod;
	}

	public void setRotPeriod(float rotPeriod) {
		this.rotPeriod = rotPeriod;
	}

	public ArrayList<Satellite> getSatellites() {
		return satellites;
	}

	public void setSatellites(ArrayList<Satellite> satellites) {
		this.satellites = satellites;
	}

}
